/*首页css样式*/
/*首页版心*/
.wrapper {
    width: 1200px;
    /*居中*/
    margin: 0 auto;
}

body {
    /*全页面颜色*/
    background-color: #f3f5f7;
}

.header {
    height: 100px;
    background-color: #ffffff;
}

.header .wrapper {
    display: flex;
    padding-top: 29px;
}

.logo {
    display: block;
    width: 195px;
    height: 41px;
    background-image: url(../images/logo.png);
    font-size: 0;
}

/*导航*/
.nav {
    margin-left: 102px;
}

.nav ul {
    display: flex;
}

.nav li {
    margin-right: 24px;
}

.nav li a {
    display: block;
    padding: 6px 8px;
    line-height: 27px;
    font-size: 19px;
}

/*active类选择器， 表示默认选中的a*/
.nav li .active,
.nav li a:hover {
    /*下划线*/
    border-bottom: 2px solid #00a4ff;
}

/*搜索区域*/
.search {
    display: flex;
    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    /*圆角搜索区域框*/
    border-radius: 20px;
    /*外边距*/
    margin-left: 64px;
    /*内边距*/
    padding-left: 19px;
    padding-right: 12px;
}

.search input {
    /*圆角搜索区域框*/
    border-radius: 20px;
    flex: 1;
    border: 0;
    /*透明背景色*/
    background-color: transparent;
    /*去掉表单控件焦点框*/
    outline: none;
}

/*placeholder 选中的是placeholder属性文字样式*/
.search input::placeholder {
    font-size: 14px;
    color: #999;
}

/*父级是flex布局，子级变成弹性盒子：加宽高生效*/
.search a {
    width: 16px;
    height: 16px;
    background-image: url(../images/search.png);
    /*align-self：弹性盒子本身，侧轴居中*/
    align-self: center;
}

/*用户中心*/
.user {
    margin-left: 32px;
    margin-top: 4px;
}

/*图片文字垂直居中*/
.user img {
    /*vertical-align: 行内块和行内垂直方向对齐方式 */
    vertical-align: middle;
    margin-right: 7px;
}

.user span {
    font-size: 16px;
    color: #666;
}

/*banner区域*/
.banner {
    background-color: #0092cb;
    height: 420px;
}

.banner .wrapper {
    display: flex;
    /*主轴对齐方式*/
    justify-content: space-between;
    height: 420px;
    background-image: url(../uploads/banner.png);
}

.banner .left {
    width: 191px;
    height: 420px;
    /*背景色半透明*/
    background-color: rgba(0, 0, 0, 0.4);

    /*上下 左右外边距*/
    padding: 3px 20px;
}

.banner .left a {
    /*块级：宽度是父级的100%*/
    display: block;
    height: 46px;
    line-height: 46px;
    color: #ffffff;
    font-size: 16px;
    /*背景图片 不平铺 右侧 居中*/
    background: url(../images/right.png) no-repeat right center;
}

/*鼠标悬停样式*/
.banner .left a:hover {
    color: #00a4ff;
    background-image: url(../images/right-hover.png);
}

.banner .right {
    width: 218px;
    height: 305px;
    background-color: #209dd5;
    /*圆角*/
    border-radius: 10px;
    margin-top: 60px;
}

.banner .right h3 {
    margin-left: 14px;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
}

.banner .right .content {
    /*圆角*/
    border-radius: 10px;
    height: 257px;
    background-color: #ffffff;
    padding: 14px;
}

.banner .right .content dl {
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.banner .right .content dt {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
}

.banner .right .content dd {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
}

.banner .right .content dd span {
    color: #00a4ff;
}

.banner .right .content dd strong {
    color: #7d7d7d;
    /*不加粗*/
    font-weight: 400;
}

.banner .right .content a {
    display: block;
    height: 32px;
    background-color: #00a4ff;
    border-radius: 15px;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    color: #ffffff;
}

/*精品推荐*/
.recommend {
    display: flex;
    background-color: #ffffff;
    height: 60px;
    /*背景色不透明*/
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
    margin-top: 11px;
    padding: 0 20px;
    line-height: 60px;
}

.recommend h3 {
    font-size: 18px;
    color: #00a4ff;
    font-weight: 400;
}

.recommend ul {
    /*弹性伸缩比，除去修改标题和修改兴趣的尺寸，父级剩余尺寸都是ul*/
    flex: 1;
    display: flex;
}

.recommend ul li a {
    padding: 0 24px;
    border-right: 1px solid #e0e0e0;
    font-size: 18px;
}

.recommend ul li:last-child a {
    border-right: none;
}

.recommend .modify {
    font-size: 16px;
    color: #00a4ff;
}

/*精品推荐课程*/
.course {
    margin-top: 15px;
}

/*标题 - 公共类，与其他区域是共用*/
.hd {
    display: flex;
    justify-content: space-between;
    height: 60px;
    line-height: 60px;
}

.hd h3 {
    font-weight: 400;
    font-size: 21px;
}

.hd .more {
    font-size: 14px;
    color: #999999;
    background: url(../images/more.png) no-repeat right center;
    padding-right: 20px;
}

/*课程内容 - 公共类*/
.bd ul {
    display: flex;
    /*弹性换行*/
    flex-wrap: wrap;
    /*主轴对齐方式*/
    justify-content: space-between;
}

.bd li {
    width: 228px;
    height: 271px;
    background-color: pink;
    margin-bottom: 14px;
}

.bd li .pic {
    height: 156px;
}

.bd li .text {
    padding: 20px;
    height: 115px;
    background-color: #ffffff;
    text-align: center;
}

.bd li .text h4 {
    margin-bottom: 13px;
    height: 40px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.bd li .text p {
    font-size: 14px;
    line-height: 20px;
    color: #999;
}

.bd li .text p span {
    color: #fa6400;
}

.bd li .text p i {
    /*字体不倾斜 正常*/
    font-style: normal;
}

/*前端*/
.hd ul {
    display: flex;
}

.hd li {
    margin-right: 60px;
    font-size: 16px;
}

.hd li .active {
    color: #00a4ff;
}

.bd {
    display: flex;
    /*主轴对齐方式*/
    justify-content: space-between;
}

.bd .left {
    width: 228px;
    background-color: #ffffff;
}

.bd .right {
    width: 957px;
    background-color: #ffffff;
}

.bd .right .top {
    margin-bottom: 15px;
    height: 100px;
}

/*版权*/
.footer {
    margin-top: 60px;
    height: 273px;
    background-color: #ffffff;
    padding-top: 60px;
}

.footer .wrapper {
    display: flex;
    justify-content: space-between;
}

.footer .left {
    width: 440px;
    background-color: #ffffff;
}

.footer .left p {
    margin-top: 24px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
}

.footer .left .download {
    display: block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    text-align: center;
    line-height: 34px;
    color: #00a4ff;
}
.footer .right {
    display: flex;
}

.footer .right dl {
    margin-left: 130px;
}

.footer .right dt {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 23px;
}

.footer .right a {
    font-size: 14px;
    color: #666666;
    line-height: 24px;
}

